package designpattern.decorator;

public class ConcreteDecorator extends Decorator {
    public ConcreteDecorator(Component component) {
        super(component);
    }

    @Override
    protected void addOperate() {
        System.out.println("add operate");
    }

    @Override
    public void operate() {
        super.operate();
        addOperate();
    }
}
